/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.group4.entity;

import javax.persistence.Embeddable;

/**
 *
 * @author Victor Cernea & José
 */
@Embeddable
public class User {
    private String login;
    private String password;
    private String fname;
    private String lname;
    private String address;
    private String email;

    public User() {
    }

    public User(String login, String password, String fname, String lname, String address, String email) {
        this.login = login;
        this.password = password;
        this.fname = fname;
        this.lname = lname;
        this.address = address;
        this.email = email;
    }
    
    public User(String login, String password){
        this.login = login;
        this.password = password;
    }
    
    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getFname() {
        return fname;
    }

    public void setFname(String fname) {
        this.fname = fname;
    }

    public String getLname() {
        return lname;
    }

    public void setLname(String lname) {
        this.lname = lname;
    }

    public String getLogin() {
        return login;
    }

    public void setLogin(String login) {
        this.login = login;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
    
}
